<?php

namespace app\user\validate;

use think\Validate;

class Shop extends Validate
{
    protected $rule = [
        'shopname'   => 'require',
        'mobile'   => 'require',
        //'cert_type'   => 'require',
        //'cert_number'   => 'require',
        //'cert_image'   => 'require',
    ];

    protected $message = [
        'shopname.require'   => '认证名称不能为空',
        'mobile.require'    => '联系电话不能为空',
        //'cert_type.require'    => '证件类型不能为空',
        //'cert_number.require'    => '证件号码不能为空',
        //'cert_image.require'    => '证件图片不能为空',
    ];
}
